<!-- 逻辑代码块-->
<script setup lang="ts">
const clickBtn = () => {
  alert('你好')
}
</script>

<!-- 结构块:-->
<template>
  <div>
    <button @click="clickBtn">你好</button>
  </div>
</template>
<!-- 样式块-->
<style scoped></style>
